package com.training.java.core.overriding;

public class PoliceCar extends Car {

	
	void start(){
		
		super.start(); // if we call super class constructor or super class method then we use super
		
		
		super.accelerate(20);  // if we call any method of our super class then for ex.accelerate
		
		System.out.println("I am starting my Police Car... I am different!");
	}
		int accelerate(int howMuch) {
			
			return 1;
		}
		
	}
	
	

